package api

import (
	"net/http"

	"github.com/gin-gonic/gin"
)

func IndexRoute(router *gin.Engine) {

	router.LoadHTMLGlob("./web/static/html/*")
	router.Static("/css", "./web/static/css")
	router.Static("/picture", "./web/static/picture")
	router.GET("/index", func(ctx *gin.Context) {
		ctx.HTML(http.StatusOK, "index.html", gin.H{})
	})
}
